package com.jeecg.p3.divination.entity;

import java.util.Date;
import java.math.BigDecimal;
import org.jeecgframework.p3.core.utils.persistence.Entity;

import com.baidu.inf.iis.bcs.utils.DateUtils;
import com.jeecg.p3.divination.annotation.Excel;

/**
 * 描述：</b>WxActDivinationRecord:<br>
 * @author junfeng.zhou
 * @since：2016年03月23日 16时02分02秒 星期三 
 * @version:1.0
 */
public class WxActDivinationRecord implements Entity<String> {
	private static final long serialVersionUID = 1L;
		/**	 *ID	 */	private String id;	/**	 *活动ID	 */	private String actId;	/**	 *微信openid	 */	@Excel(exportConvertSign = 0, exportFieldWidth = 30, exportName = "openid", importConvertSign = 0)
	private String openid;	/**
	 *昵称	 */	@Excel(exportConvertSign = 0, exportFieldWidth = 30, exportName = "昵称", importConvertSign = 0)	private String nickname;	/**	 *分数	 */
	@Excel(exportConvertSign = 0, exportFieldWidth = 30, exportName = "分数", importConvertSign = 0)	private Integer score;	/**	 *摇签时间	 */
	@Excel(exportConvertSign = 1, exportFieldWidth = 30, exportName = "摇签时间", importConvertSign = 0)	private Date drawTime;
	/**	 *微信公众号	 */	private String jwid;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getActId() {
		return actId;
	}
	public void setActId(String actId) {
		this.actId = actId;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public Date getDrawTime() {
		return drawTime;
	}
	public void setDrawTime(Date drawTime) {
		this.drawTime = drawTime;
	}
	public String getJwid() {
		return jwid;
	}
	public void setJwid(String jwid) {
		this.jwid = jwid;
	}
	public String getDrawTimeConvert() {
		return org.jeewx.api.core.util.DateUtils.formatDate(this.drawTime,"yyyy-MM-dd HH:mm:ss");
	}	
}

